package com.plant.oss;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @Author:查鑫杰
 * @Classname:OssApplication
 * @Date:2024/08/21
 * @Description:
 */

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//加这个是为了排除数据库
@ComponentScan(basePackages = {"com.plant"})
public class OssApplication {

    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }
}
